package com.fujitsu.nanjing.tieba.dao;

import com.fujitsu.nanjing.tieba.ibator.CoreShortMsg;
import com.fujitsu.nanjing.tieba.ibator.CoreShortMsgCriteria;
import java.util.List;

public interface CoreShortMsgDAO {
    int countByExample(CoreShortMsgCriteria example);

    int deleteByExample(CoreShortMsgCriteria example);

    int deleteByPrimaryKey(Integer msgid);

    void insert(CoreShortMsg record);

    void insertSelective(CoreShortMsg record);

    List<CoreShortMsg> selectByExample(CoreShortMsgCriteria example);

    CoreShortMsg selectByPrimaryKey(Integer msgid);

    int updateByExampleSelective(CoreShortMsg record, CoreShortMsgCriteria example);

    int updateByExample(CoreShortMsg record, CoreShortMsgCriteria example);

    int updateByPrimaryKeySelective(CoreShortMsg record);

    int updateByPrimaryKey(CoreShortMsg record);
}